<!doctype html>
<html>
<head>
<title>解放号，可信的IT服务众包平台</title>
<meta property="qc:admins" content="231327022534627164672356375" />
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="expires" content="0"/>
<meta name="keywords" content="解放号,众包平台,众包网站,JointForce,众包,项目交易,外包,定制开发,软件开发,项目开发">
<meta name="description" content="解放号JointForce平台，提供设计、开发、测试、运维、运营、编辑等项目资源和人才资源，为企业、软件公司和软件开发人才提供一个可信IT服务众包平台。">
<link rel="shortcut icon" type="image/x-icon" href="https://www.jointforce.com/icon/logo.png"/>
<meta charset=UTF-8 />
<meta name="author" content="CSI"/>
<link rel="shortcut icon" type="image/x-icon" href="https://www.jointforce.com/icon/logo.png"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="renderer" content="webkit|ie-comp|ie-stand" />
<link rel="stylesheet" type="text/css" href="https://www.jointforce.com/styles/base.css" />
<link rel="stylesheet" type="text/css" href="https://www.jointforce.com/styles/common.css" />
<link rel="stylesheet" type="text/css" href="../../styles/pts/pts.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="https://www.jointforce.com/js/lib/biz.jquery.js"></script>
<script>
var rpath = 'https://www.jointforce.com';
var _hmt = _hmt || [];
(function() {
   if(!rpath.match("localhost")){
	   var hm = document.createElement("script");
	   hm.src = "//hm.baidu.com/hm.js?cc7c68ca6e0732df36608aed8e72564c";
	   var s = document.getElementsByTagName("script")[0]; 
	   s.parentNode.insertBefore(hm, s);
   }
})();
</script>
<!--link rel="stylesheet" type="text/css" href="/styles/extends/carousel/carousel.css"/-->
<style>
.ccs_text{margin:auto;clear:both;font-size:12pt;width:1000px;text-align:left;line-height:30px;}
.ccs_i_title{width:100%;text-align:center;margin:auto;clear:both;}
.ccs_i_title_text{width: 975px;margin: auto;text-align: left;line-height: 25px;padding: 5px 5px 5px 20px;font-size: 12pt;background:url(../../images/file.png) no-repeat 0 12px;border-bottom:1px dotted #ccc}

.ccs_i_body{width: 1000px;margin: auto;}
.ccs_list{display:block;margin:auto;clear:both;width: 100%;position: relative;}
.ccs_i_repos_box{clear: both;height: 50px;overflow-y: hidden;}
.ccs_i_repos_box2{clear: both;height: auto;}
.ccs_i_repos_list{width:auto;float: left;border: 1px solid #1acc9c;padding: 0px 10px;height: 30px;margin: 10px 10px 0px 0px;line-height: 30px;text-align:center;}
.ccs_i_checked{color:#fff;background:#3bae94}
.ccs_i_repos_expend{;clear:both;height:30px;line-height: 30px;text-align:center}
.ccs_i_repos_collapse{clear:both;height:30px;line-height: 30px;text-align:center;display:none}
.ccs_i_blank{text-align:center;height:50px;line-height: 50px;}
.ccs_i_img{width:100%;height:430px;text-align:center;clear:both;margin:auto;background:url(../../images/pts/ccs1.gif) no-repeat 10px 0px}
</style>
</head>
<body>

<!--body-->
<div class="ccs_i_body">
	<div class="ccs_i_title">
		<div class="ccs_i_title_text">代码质量检查</div>
	</div>

	<div class="ccs_i_blank">
		当前项目还未有代码库，请先“<a href="#">创建代码库</a>”，并上传代码
	</div>

	<div class="ccs_list">
		<div id="reports-list" class="ccs_i_repos_box"></div>
		<div id="reports-expend" class="ccs_i_repos_expend" onclick="expendRepos()">更多...</div>
		<div id="reports-collapse" class="ccs_i_repos_collapse" onclick="collapseRepos()">收起</div>
	</div>

	<div class="ccs_list ccs_bg_silver">
		<p class="ccs_text">欢迎使用Jointforce代码质量检查服务，代码质量检查服务是JointForce平台保障代码交付质量的一项基础服务，</p>
		<p class="ccs_text">提供基本的代码质量检查服务。公测期暂将先支持java语言的检查分析服务。</p>
		<p class="ccs_text">使用代码质量检查服务，请依据如下步骤操作</p>
		<p class="ccs_text">1.选择项目，进入"代码质量"菜单</p>
		<p class="ccs_text">2.选择要检查的代码库，点击“代码检查”</p>
		<p class="ccs_text">3.当代码检查结束（依据代码库大小，检查时间稍要等待），就可查看代码检查结果</p>
		<div class="ccs_i_img"></div>
		<div id="onekeycheck" class="pts-btn-check"><a href="#" onclick="doCheck()"><i>一键检查</i></a></div>
	</div>
</div>

<!--footer-->
</body>
<script>
function init(){
	var html = "";
	var css = ""
	for(var i=0;i<30;i++){
		if(i==0){
			css = "ccs_i_checked";
		}else{
			css = "";
		}
		html += "<div class='ccs_i_repos_list "+css+"' onclick='repoSelected(this)'>repo-"+i+"</div>";
	}
	$("#reports-list").append(html);
}

function repoSelected(obj){
	var boxes = $(".ccs_i_checked");
	$.each(boxes,function(){
		var b = $(this);
		b.removeClass("ccs_i_checked");
		b.addClass("ccs_i_repos_list");
	});
	$(obj).addClass("ccs_i_checked");
}

function expendRepos(){
	$("#reports-expend").hide();
	$("#reports-collapse").show();
	$("#reports-list").removeClass("ccs_i_repos_box");
    $("#reports-list").addClass("ccs_i_repos_box2");
}

function collapseRepos(){
	$("#reports-expend").show();
	$("#reports-collapse").hide();
	$("#reports-list").removeClass("ccs_i_repos_box2");
    $("#reports-list").addClass("ccs_i_repos_box");
}
init();
</script>
</html>
